
import threading
import config


class Speech_recognition:

    def vosk(self) -> None:
        while True:
            mess = input(
                "\n\n=========================\n\nСкажите функцию \
                            \n\n=========================\n\n"
            )
            config.stream_speech.put(mess)

    def thread(self) -> None:
        my_thread = threading.Thread(target=self.vosk)
        my_thread.start()


# ,daemon=True
